#ifndef							__AMODULE_H__
#define							__AMODULE_H__

#include						"IApi.h"

class							AModule
{
public:
	AModule();
	virtual ~AModule();

protected:
	IApi						*_api;
public:
	virtual void				setApi(IApi*);
	virtual void				interpret(Packet *) = 0;
	virtual void				init() = 0;
};

#endif // !__AMODULE_H__
